﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EAAdmin
{
    public partial class ChangeTemplate : WebPage
    {
        override
        protected void Load(object sender, EventArgs e)
        {
            if (Request["tpl"] != null && !Request["tpl"].Equals(""))
            {
                Session["tpl"] = Request["tpl"];
            }
            String path = "/Default.aspx";
            if (Request["path"] != null && !Request["path"].Equals(""))
            {
                path = Server.UrlDecode(Request["path"]);
            }
            Response.Redirect(path);    
        }
    }
}